using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN NguonTinEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: NguonTinEntity</para>
	/// <para>Description: ClassNguonTinEntity store data of table NguonTin</para>
	///</summary>

	[DataContract]
	public partial class NguonTinEntity{


		private bool _InternalChangedIsNullNguonTin_ID=true;
		private bool _IsNullNguonTin_ID=true;
		private bool _InternalChangedIsNullTenNguonTin=true;
		private bool _IsNullTenNguonTin=true;
		private int _NguonTin_ID;
		private string _TenNguonTin;
		[DataMember]
		public bool IsNullNguonTin_ID{
			get{return _IsNullNguonTin_ID;}
			set{if(!_InternalChangedIsNullNguonTin_ID)_IsNullNguonTin_ID=value;}
		}
		[DataMember]
		public bool IsNullTenNguonTin{
			get{return _IsNullTenNguonTin;}
			set{if(!_InternalChangedIsNullTenNguonTin)_IsNullTenNguonTin=value;}
		}
		[DataMember]
		public int NguonTin_ID{
			get{return _NguonTin_ID;}
			set{
				_NguonTin_ID=value;
				if(_NguonTin_ID!=null){
					_IsNullNguonTin_ID=false;
					_InternalChangedIsNullNguonTin_ID=true;
				}
			}
		}
		[DataMember]
		public string TenNguonTin{
			get{return _TenNguonTin;}
			set{
				_TenNguonTin=value;
				if(_TenNguonTin!=null){
					_IsNullTenNguonTin=false;
					_InternalChangedIsNullTenNguonTin=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END NguonTinEntityBase*****************************************/
	/*****************************************************************************************************/
}

